﻿using System;
using System.Collections.Generic;
using System.Web;

namespace Net.DataAccess
{
	public class ArticleDetails
	{
		public ArticleDetails() { }
		public ArticleDetails(
			long id,
			DateTime addedDate, string addedBy, string title,
			string summary, string body, DateTime timePoint)
		{
			this.ID = id;

			this.AddedDate = AddedDate;
			this.AddedBy = addedBy;
			this.Title = title;
			this.Summary = summary;
			this.Body = body;
			this.TimePoint = timePoint;
		}

		private long _id = 0;
		public long ID { get { return _id; } set { _id = value; } }

		private DateTime _addedDate = DateTime.Now;
		public DateTime AddedDate { get { return _addedDate; } set { _addedDate = value; } }

		private string _addedBy = "";
		public string AddedBy { get { return _addedBy; } set { _addedBy = value; } }

		private string _title = "";
		public string Title { get { return _title; } set { _title = value; } }

		private string _summary = "";
		public string Summary { get { return _summary; } set { _summary = value; } }

		private string _body = "";
		public string Body { get { return _body; } set { _body = value; } }

		private DateTime _timePoint = DateTime.Now;
		public DateTime TimePoint { get { return _timePoint; } set { _timePoint = value; } }
	}
}